package com.jgp.security.controller;

import com.jgp.sys.controller.JGPBackController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 项目   jgp-cloud-parent
 * 作者   loufei
 * 时间   2019-11-03
 */
@Controller
@RequestMapping("/security/user-ctl")
public class UserController extends JGPBackController {
    
    @RequestMapping("system-admin-mgr")
    public String systemAdminMgr(){
        return page("system-admin-mgr");
    }
    
    @RequestMapping("system-user-mgr")
    public String systemUserMgr(){
        return page("system-user-mgr");
    }
    
    @RequestMapping("edit-system-admin")
    public String editSystemAdmin(String id, Model model){
        re(model,"id",id);
        return page("edit-system-admin");
    }
    
    @RequestMapping("edit-system-user")
    public String editSystemUser(String id, Model model){
        re(model,"id",id);
        return page("edit-system-user");
    }
    
    
}
